package com.ruoyi.classes.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * @author Bandit
 * @createTime 2022/11/10 20:38:27
 */
public class ClassUserVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long classId;

    /** 用户id */
    private Long userId;

    /**
     * 用户名: 账户
     */
    private String userName;

    /**
     * 用户昵称
     */
    private String userNickName;

    /** 用户类型，0成员，1管理员 */
    @Excel(name = "用户类型，0成员，1管理员")
    private Long userType;

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public Long getUserType() {
        return userType;
    }

    public void setUserType(Long userType) {
        this.userType = userType;
    }

    @Override
    public String toString() {
        return "ClassUserVo{" +
                "classId=" + classId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userNickName='" + userNickName + '\'' +
                ", userType=" + userType +
                '}';
    }
}
